package com.smedi.ismedi.inmail.core.domain.repository;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.smedi.ismedi.inmail.core.application.command.AppVersionQuery;
import com.smedi.ismedi.inmail.core.domain.aggregatemodel.AppVersion;

import java.util.List;

/**
 * @version: v1.0.0
 * @author: wzx
 * @date: 2023/8/30 10:28
 * @Description: TODO
 */

public interface AppVersionRepository {

    Long create(AppVersion appVersion);

    Long update(AppVersion appVersion);

    void remove(AppVersionQuery appVersionQuery);

    AppVersion get(AppVersionQuery appVersionQuery);

    List<AppVersion> list(AppVersionQuery appVersionQuery);

    Page<AppVersion> page(AppVersionQuery appVersionQuery);

}
